package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "BASE_CITY")
public class City extends BaseObject {
    private static final long serialVersionUID = 176896698878059595L;
    @MappingColumn(columnName = "CITY_ID", columnPk = true, columnLength = 32)
    private String cityId;
    @MappingColumn(columnName = "CITY_CODE")
    private String cityCode;
    @MappingColumn(columnName = "CITY_NAME")
    private String cityName;
    @MappingColumn(columnName = "CITY_SEQ")
    private Integer citySeq;
    @MappingColumn(columnName = "CITY_PINYIN")
    private String cityPinyin;
    @MappingColumn(columnName = "CITY_INITIAL")
    private String cityInitial;
    @MappingColumn(columnName = "CITY_STATE")
    private Integer cityState;
    @MappingColumn(columnName = "PROVINCE_ID")
    private String provinceId;
    @MappingTable(tableName = "BASE_PROVINCE")
    private Province province;

    private String provinceName;

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getCitySeq() {
        return citySeq;
    }

    public void setCitySeq(Integer citySeq) {
        this.citySeq = citySeq;
    }

    public Integer getCityState() {
        return cityState;
    }

    public void setCityState(Integer cityState) {
        this.cityState = cityState;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityPinyin() {
        return cityPinyin;
    }

    public void setCityPinyin(String cityPinyin) {
        this.cityPinyin = cityPinyin;
    }

    public String getCityInitial() {
        return cityInitial;
    }

    public void setCityInitial(String cityInitial) {
        this.cityInitial = cityInitial;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }
}
